GdkScreen: Return 1, not 1.0 for the (int) scale factor
authorAlexander Larsson <alexl@redhat.com>
Mon, 26 Aug 2013 12:39:50 +0000 (14:39 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 26 Aug 2013 19:17:45 +0000 (21:17 +0200)
gdk/gdkscreen.c

index 9a71b98b805478f778d3f22794b47756da5e6e99..743b850bd57906266e39d46d4c9846e1f50b8261 100644 (file)
@@ -1080,5 +1080,5 @@ gdk_screen_get_monitor_scale_factor (GdkScreen *screen,
   if (screen_class->get_monitor_scale_factor)
     return screen_class->get_monitor_scale_factor (screen, monitor_num);
 
-  return 1.0;
+  return 1;
 }